package com.example.observe.events;

import com.example.observe.events.mouse.Mouse;
import com.example.observe.events.mouse.MouseCallback;
import com.example.observe.events.mouse.MouseEventType;

public class MouseEventTest {
    public static void main(String[] args) {
        MouseCallback mouseCallback = new MouseCallback();

        Mouse mouse = new Mouse();
        mouse.addListener(MouseEventType.ON_CLICK, mouseCallback);
        mouse.addListener(MouseEventType.ON_BLUR, mouseCallback);

        mouse.click();
        mouse.blur();

    }
}
